import Vue from 'vue'
// 按需求引入
import { Button, NavBar, Form, Field, Toast, Tabbar, TabbarItem, Cell, CellGroup, List, Swipe, SwipeItem, Search, Icon, Grid, GridItem, DropdownMenu, DropdownItem, Sticky, Popup, Card, Tag, IndexBar, IndexAnchor, GoodsAction, GoodsActionButton, GoodsActionIcon } from 'vant'
// 这个说明Button是vue的插件

Vue.use(Button)
Vue.use(NavBar)
Vue.use(Form)
Vue.use(Field)
Vue.use(Tabbar)
Vue.use(TabbarItem)
Vue.use(Cell)
Vue.use(CellGroup)
Vue.use(List)
Vue.use(Swipe)
Vue.use(SwipeItem)
Vue.use(Search)
Vue.use(Icon)
Vue.use(Grid)
Vue.use(GridItem)
Vue.use(DropdownMenu)
Vue.use(DropdownItem)
Vue.use(Sticky)
Vue.use(Popup)
Vue.use(Card)
Vue.use(Tag)
Vue.use(IndexBar)
Vue.use(IndexAnchor)
Vue.use(GoodsAction)
Vue.use(GoodsActionButton)
Vue.use(GoodsActionIcon)
Vue.prototype.$toast = Toast
